#include<iostream>
#include<boost/shared_ptr.hpp>

using namespace std;
using namespace boost;

char* getChar()
{
    char *a = new char[12];
    return a;
}
int* getInt()
{
    int *a = new int();
    return a;
}

int main()
{
    auto_ptr<char> b(getChar());
    auto_ptr<int> c(getInt());
    shared_ptr<char> d(getChar());
    return 0;
}
